<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>背景样式</title>
</head>
<body>

<style>
    div{
        width: 400px;
        height: 400px;
        border: 1px solid red;
        background-color: blue;
        background-image: url("img/manor-2.jpg");
        background-repeat: no-repeat;
        /*背景定位*/
        background-position: 100px 100px ;
    }
</style>
<div>

</div>
</body>
</html>